package com.zHan.sky.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zHan.sky.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {


    Double selectTotalAmount(@Param("beginTime") LocalDateTime beginTime,
                             @Param("endTime") LocalDateTime endTime,
                             @Param("status") Integer status);
}
